package com.caowang.mhtlj.model;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class User {
    private  String name;
    private Integer role ;
    private LinkedList<Card> myCards=new LinkedList<>();
    private Integer cardsSize =0;
    private Integer cardsState =0;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LinkedList<Card> getMyCards() {
        return myCards;
    }

    public void setMyCards(LinkedList<Card> myCards) {
        this.myCards = myCards;
    }

    public User(String name,Integer role) {
        this.name = name;
        this.role = role;
    }

    public User() {
    }

    public Integer getCardsSize() {
        return myCards.size();
    }

    public void setCardsSize(Integer cardsSize) {
        this.cardsSize = cardsSize;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getCardsState() {
        return cardsState;
    }

    public void setCardsState(Integer cardsState) {
        this.cardsState = cardsState;
    }
}
